import request from '@/utils/request'

// 获取用户自定义分析商品
export function findGoodsList(data = {}) {
  return request({
    url: '/goodsAnalisis/findGoodsList',
    method: 'post',
    params: data
  })
}

// 删除自定义商品
export function delBatch(data = {}) {
  return request({
    url: '/goodsAnalisis/delBatch',
    method: 'post',
    params: data
  })
}

// 添加自定义商品
export function addGoods(data = {}) {
  return request({
    url: '/goodsAnalisis/addGoods',
    method: 'post',
    params: data
  })
}

// 根据hs编码查询商品信息
export function findByHsCode(data = {}) {
  return request({
    url: '/baseHsCode/findByHsCode',
    method: 'post',
    params: data
  })
}
